/*
 * @Author: your name
 * @Date: 2021-12-30 18:57:56
 * @LastEditTime: 2021-12-30 19:09:06
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \flutter-learning\Dart_Basic_Grammer\oneclassimplementmoreinterface.dart
 */


// one class implement more interface

abstract class A {
  String name = "";
  printA();
}

abstract class B {
  printB();
}

class C implements A {
  @override
  printA() {
    // TODO: implement printA
    throw UnimplementedError();
  }

  @override
  String name = "";
  
}

class D implements A,B {
  @override
  String name = "";

  @override
  printA() {
    // TODO: implement printA
    throw UnimplementedError();
  }

  @override
  printB() {
    // TODO: implement printB
    throw UnimplementedError();
  }
  
}

void main(List<String> args) {
  
}